sgdk: Animation Struct Reference

sgdk

- Main Page
- Related Pages
- Classes
- Files

- Class List

Public Attributes
Animation Struct Reference

`#include <sprite_eng.h>`

List of all members.

## Public Attributes

u16 | numFrame
AnimationFrame ** | frames
u16 | length
u8 * | sequence
s16 | loop

## Detailed Description

Sprite animation structure.

Parameters:

  numFrame | number of different frame for this animation
  frames | frames composing the animation
  length | animation sequence length
  sequence | frame sequence animation (for instance: 0-1-2-2-1-2-3-4..)
  loop | frame sequence index for loop (-1 if no loop).
  timer | active time for this frame (in 1/60 of second)

The documentation for this struct was generated from the following file:

- sprite_eng.h

All Classes Files Functions Variables Typedefs Enumerations Defines